import Home from '../views/Home'
import EditArticle from '../views/article/EditArticle'
import ArticleList from '../views/article/ArticleList'

export default [
  {
    path: '/',
    name: Home.name,
    component: Home
  },
  {
    path: '/article/add',
    name: 'add-article',
    component: EditArticle
  },
  {
    path: '/article/:id',
    name: 'edit-article',
    component: EditArticle
  },
  {
    path:'/article/',
    name: ArticleList.name,
    component: ArticleList
  },
]
